<?php
/**
 * Created by PhpStorm.
 * User: huihui
 * Date: 2018/9/10
 * Time: 下午10:09
 */

namespace app\admin\model;


use think\Model;

class Log extends Model
{

    protected $auto = ['create_time'];
    //返回原有数据  不自动进行时间转换
    public function getCreateTimeAttr($time)
    {
        return $time;
    }
}